package day2018_lab02.test13;

public class Test13 {
    public static void main(String[] args) {
        School sc= new School();
        sc.setS1(98);
        sc.setS2(99);
        sc.setS3(100);
        System.out.println( sc.average());

        Gymnastics gy = new Gymnastics();
        gy.setS11(90);
        gy.setS22(98);
        gy.setS33(97);
        gy.setS44(98);
        gy.setS55(150);
        System.out.println(gy.average());
    }
}
